﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PacMan3D.Utils
{
    /// <summary>
    /// This class represents a Size, composed by floats.
    /// </summary>
    public class Size
    {
        public float XLenght { get; set; }
        public float YLenght { get; set; }
        public float ZLenght { get; set; }

        public Size(float xLenght, float yLenght, float zLenght)
        {
            this.XLenght = xLenght;
            this.YLenght = yLenght;
            this.ZLenght = zLenght;
        }

        public Size(float xyzLenght)
            : this(xyzLenght, xyzLenght, xyzLenght) {}

        public override string ToString() {
            return "Size{XLenght: " + this.XLenght + ", YLenght: " + this.YLenght + ", ZLenght: " + this.ZLenght + "}";
        }
    }
}
